#!/bin/bash
DATE_ID="$(date +%Y%m%d)"
SOURCE_COMMIT="$(git rev-parse HEAD)"
docker tag $IMAGE_NAME $DOCKER_REPO:$SOURCE_COMMIT
docker tag $IMAGE_NAME $DOCKER_REPO:$DATE_ID
docker push $DOCKER_REPO:$SOURCE_COMMIT
docker push $DOCKER_REPO:$DATE_ID
